home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / SciAn / src / ScianVisObjects.h < prev    next >
C/C++ Source or Header  |  1994-08-01  |  2KB  |  71 lines

  1. /*ScianVisObjects.h
  2.   May 28, 1991
  3.   Eric Pepke
  4.   Public stuff for vis objects
  5. */
  6.  
  7. /*Bounded box bits*/
  8. #define BBINNERCORNER    1    /*Show inner corner*/
  9. #define BBFLOOR        2    /*Show inside of floor*/
  10. #define BBCEILING    4    /*Show inside of ceiling*/
  11. #define BBWIREFRAME    8    /*Show wire frame*/
  12. #define BBTHICK        16    /*Thick lines*/
  13. #define BBAXISNAMES    32    /*Show names of axes*/
  14.  
  15. #define BBXMAJOR    1024    /*Show major tics on X axis*/
  16. #define BBXMINOR    2048    /*Show minor tics on X axis*/
  17. #define BBYMAJOR    4096    /*Show major tics on Y axis*/
  18. #define BBYMINOR    8192    /*Show minor tics on Y axis*/
  19. #define BBZMAJOR    16384    /*Show major tics on Z axis*/
  20. #define BBZMINOR    32768    /*Show minor tics on Z axis*/
  21.  
  22. #define VISMATERIAL    2    /*Arbitarily chosen # for vis material*/
  23.  
  24. extern ObjPtr allVisObjClasses;    /*All classes of final vis objects*/
  25. extern ObjPtr visClass;
  26. extern ObjPtr visWindowClass, visGeometryClass;
  27. extern ObjPtr visSurface, visColored, visDeformed, visLines, visDots;
  28. extern ObjPtr visIcon;
  29. extern real globalFactor, globalOffset, globalFixed;
  30. extern ObjPtr globalDeformObject;
  31. extern ObjPtr visSized;
  32. extern Bool cacheMade;
  33.  
  34. /*Is vis obj predicate*/
  35. #define IsVisObj(object) IntVarEql(object, CLASSID, CLASS_VISOBJ)
  36.  
  37. ObjPtr ChangeShowControls();
  38. ObjPtr DropInMainDatasetCorral();
  39.  
  40. #ifdef PROTO
  41. void InitVisObjects(void);
  42. void KillVisObjects(void);
  43. Bool GetBounds(ObjPtr, real bounds[6]);
  44. void ChooseRGBTask(void);
  45. void PrefixDatasets(ObjPtr, ObjPtr);
  46. void DefineVisMapping(long, int, int, int, ObjPtr);
  47. ObjPtr NewVis(ObjPtr, ObjPtr);
  48. ObjPtr NewVisIcon(ObjPtr);
  49. ObjPtr GetAllVis(ObjPtr, Bool, ObjPtr);
  50. ObjPtr GetPrefVis(ObjPtr);
  51. void ObjectRGB(WinInfoPtr);
  52. ObjPtr DummyDeformed(ObjPtr);
  53. void SetupDeformation(ObjPtr);
  54. void DrawVisObject(ObjPtr);
  55. #else
  56. void InitVisObjects();
  57. void KillVisObjects();
  58. Bool GetBounds();
  59. void ChooseRGBTask(void);
  60. void PrefixDatasets();
  61. void DefineVisMapping();
  62. ObjPtr VisualizeObjectAs();
  63. ObjPtr NewVisIcon();
  64. ObjPtr GetAllVis();
  65. ObjPtr GetPrefVis();
  66. void ObjectRGB();
  67. ObjPtr DummyDeformed();
  68. void SetupDeformation();
  69. void DrawVisObject();
  70. #endif
  71.